package com.example.contactcloud;

public class Group {
	/*
	 * Private members
	 */
	private long groupid;
	private String groupname;
	
	public Group(long id, String name){
		groupid = id;
		groupname = name;
	}
	
	
	public Group(){
		groupid = 0;
		groupname = "";
		
	}
	/*
	 * Generated getters and setters.
	 */
	
	public long getGroupId() {
		return groupid;
	}
	public void setGroupId(long groupid) {
		this.groupid = groupid;
	}
	public String getGroupName() {
		return groupname;
	}
	public void setGroupName(String groupname) {
		this.groupname = groupname;
	}
	
	/*
	 * ToString, used by adapters
	 */
	@Override
	public String toString(){
		return groupname;
	}
}
